#include "component.hpp"
#include "node.hpp"
#include "component_sprite.hpp"
#include "component_script.hpp"

std::vector< std::unique_ptr<Component> > Component::__pool;

Component::Component(): node(nullptr) {
    Component::__pool.push_back( std::unique_ptr<Component>( this ) );
}

Component::~Component()
{
}